﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using PowerHub.MES.Entities.BasicData;

namespace PowerHub.MES.Entities.Shopfloor;


/// <summary>
/// 车间
/// </summary>
[Table("Shopfloor_Workshopinfo")]
public partial class Shopfloor_Workshopinfo : BaseEntity
{
    /// <summary>
    /// 车间编号
    /// </summary>
    public string? WorkshopNo { get; set; }

    /// <summary>
    /// 车间名称
    /// </summary>
    public string? WorkshopName { get; set; }

    /// <summary>
    /// 负责人id
    /// </summary>
    public string? UserId { get; set; }

    /// <summary>
    /// 面积
    /// </summary>
    public string? Area { get; set; }

    /// <summary>
    /// 仓库id
    /// </summary>
    public string? FoundationId { get; set; }



    //public virtual ICollection<Shopfloor_ProductionLine> ShopfloorProductionLines { get; set; } = new List<Shopfloor_ProductionLine>();

    public virtual Shopfloor_Foundation? Foundation { get; set; }

    public virtual BasicData_Userinfo? User { get; set; }
}
